<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * BackendPro
 *
 * A website backend system for developers for PHP 4.3.2 or newer
 *
 * @package         conlabz CMS
 * @author          Christian Schneider
 * @copyright       Copyright (c) 2009
 * @license        
 * @link            http://www.conlabz.de
 * @filesource
 */

// ---------------------------------------------------------------------------

/**
 * Page
 *
 * Allow the define the pages front page
 *
 * @package         conlabz CMS
 * @subpackage      Controllers
 */
class Help extends User_Controller {
	function Help( ) {
		parent::User_Controller( );

		// Check for access permission
		// needs to be defined as a resource over the admin area
		//check( 'Page' );

		$this->load->model( 'website_model' );
		
		// Load the article model
		$this->lang->module_load( 'article', 'help' );
		// Set breadcrumb
		$this->bep_site->set_crumb( $this->lang->line( 'page' ), 'article/user/help' );
		
		log_message( 'debug', 'conlabz CMS : Help class loaded' );
	}

	/**
	 * View Page
	 *
	 * @access public
	 */
	function index( ) {
		// Display Page
		$data['header'] = $this->lang->line( 'help_overview' );
		$data['page'] = $this->config->item('backendpro_template_user') . "/view_help";
		$data['menu'] = $this->website_model->getWebsiteUserMenu( );
		$data['module'] = 'article';
		$this->load->view( $this->_container, $data );
	}
}
/* End of file help.php */
/* Location: ./modules/article/controllers/user/help.php */